package lzk.myshop.Util;

import lzk.myshop.pojo.Users;

public class UserAll {
    private int id;
    private int cartid;
    private String name;
    private String email;
    private String phone;
    private String password;
    private int status;

    public UserAll() {
    }

    public UserAll(Users users,int cartid){
        this.id = users.getId();
        this.name=users.getName();
        this.email=users.getEmail();
        this.phone=users.getPhone();
        this.address= users.getAddress();
        this.password=users.getPassword();
        this.status=users.getStatus();
        this.cartid=cartid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCartid() {
        return cartid;
    }

    public void setCartid(int cartid) {
        this.cartid = cartid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    private String address;
}
